#include "katan.h"
#include "view/ElementButton.h"

Katan::Katan(QWidget *parent) :
	QWidget(parent)
{
	ui.setupUi(this);

	setMinimumSize(QSize(500,500));

	layout.getElementAt(HexVector(0,0,0));

	layout.getElementAt(HexVector(6,0,-6));
	layout.getElementAt(HexVector(6,-6,0));
	layout.getElementAt(HexVector(0,6,-6));
	layout.getElementAt(HexVector(0,-6,6));
	layout.getElementAt(HexVector(-6,0,6));
	layout.getElementAt(HexVector(-6,6,0));
	layout.getElementAt(HexVector(0,18,-18));
	setLayout(&layout);
}

Katan::~Katan()
{
}

void Katan::paintEvent(QPaintEvent * event)
{
	QWidget::paintEvent(event);
}
